export enum JobStatusEnum {
	/**
	 * 运行中
	 */
	Run = 1,

	/**
	 * 停止
	 */
	Stop = 2,
}
export enum JobType {
	/**
	 * 爱奇艺签到
	 */
	IqiyiSign = 0,
	/**
	 * 小程序蒙牛签到
	 */
	AppletMengSign = 100,
	/**
	 * 小程序蒙牛热血篮球
	 */
	HotBloodedBasketball = 101,
}

export enum TimingTypeEnum {
	/**
	 * 间隔定时任务
	 */
	Interval = 0,

	/**
	 * Cron定时任务
	 */
	Cron = 1,
}

export const JobStatusEnumStr: Record<JobStatusEnum, string> = {
	[JobStatusEnum.Run]: "运行中",
	[JobStatusEnum.Stop]: "停止",
};

export const JobTypeStr: Record<JobType, string> = {
	[JobType.IqiyiSign]: "爱奇艺签到",
	[JobType.AppletMengSign]: "小程序蒙牛签到",
	[JobType.HotBloodedBasketball]: "小程序蒙牛热血篮球",
};

export const TimingTypeEnumStr: Record<TimingTypeEnum, string> = {
	[TimingTypeEnum.Interval]: "间隔定时任务",
	[TimingTypeEnum.Cron]: "Cron定时任务",
};
